<form method="post" action="">
    <table width="100%" cellspacing="0">
        <tr>
            <th colspan="1">{l_register}</th>
        </tr>
        <tr>
            <td class="ex_sh border_right border_left" colspan="1">{l_main_acc_info}</td>
        </tr>
        <tr>
            <td style="padding: 8px;font-size: 11px;" class="border_left border_right">
                <if name="errors">
                <div id="error">
                    <div class="errorHead">{l_error_occured}</div>
                    <div class="errorBody">{error_message}</div>
                </div>
                <div class="spacer"></div>
                <endif name="errors">
                <div style="padding: 2px;">
                    <span style="display: inline-table;width: 200px;">{l_username}:</span>
                    <span style="display: inline-table;"><input class="reg" type="text" name="username" value="{username}" /></span>
                </div>
                
                <div style="padding: 2px;">
                    <span style="display: inline-table;width: 200px;">{l_password}:</span>
                    <span style="display: inline-table;"><input class="reg" type="password" name="password" /></span>
                </div>
                
                <div style="padding: 2px;">
                    <span style="display: inline-table;width: 200px;">{l_repassword}:</span>
                    <span style="display: inline-table;"><input class="reg" type="password" name="repassword" /></span>
                </div>
                
                <div style="padding: 2px;">
                    <span style="display: inline-table;width: 200px;">{l_email}:</span>
                    <span style="display: inline-table;"><input class="reg" type="text" name="email" value="{email}" /></span>
                </div>
            </td>
        </tr>
        <isloop name="extraFields">
        <tr>
            <td class="ex_sh border_right border_left" colspan="1">{l_extra_fields}</td>
        </tr>
        <tr>
            <td style="padding: 8px;font-size: 11px;" class="border_left border_right">
        <endisloop name="extraFields">
        <loop name="extraFields">
                <div style="padding: 2px;">
                    <span style="display: inline-table;width: 200px;">{extraFields.field_name}:<br /><small style="color: #bbbbbb;">{extraFields.field_descp}</small></span>
                    <span style="display: inline-table;"><input class="reg" type="text" name="field_{extraFields.field_id}" maxlength="{extraFields.maxlength}" value="{extraFields.value}" /></span>
                </div>
        <endloop name="extraFields">
        <isloop name="extraFields">
            </td>
        </tr>
        <endisloop name="extraFields">
        <tr>
            <td class="ex_sh border_right border_left" colspan="1">{l_recaptcha_info}</td>
        </tr>
        <tr>
            <td class="border_right border_left" align="center">{recaptcha}</td>
        </tr>
        <tr>
            <td class="ex_sh border_right border_left center_text" colspan="1">
                <input type="submit" value="{l_register}" name="submit" />
            </td>
        </tr>
        <tr>
            <th colspan="1"></th>
        </tr>
    </table>
    
</form>